package com.example.mongo_demo.service;

import com.example.mongo_demo.entity.Student;
import org.springframework.data.mongodb.core.query.Query;

import java.io.Serializable;

public interface StudentService {
    Student save(Student student);

    long remove(Student student);

    long remove(Query query);

    Student findById(Serializable id);
}
